﻿using System;
using UnityEngine;

namespace Z1029.PhiPlayer.OpenSource
{
    public sealed class Drag : Note
    {
        bool draged;
        public override void OnNoteUpdate()
        {
            if (PauseGame.pause)
                return;//暂停不执行

            if ((LevelController.nowTime - noteData.time) > 0)
            {
                Hit(HitACC.Perfect);
            }
            if (!draged)
            {
            }
        }

        public override void OnNoteStart()
        {
            type = NoteType.Drag;
            draged = false;
        }
    }
}